
public class Passenger {
	public static void main(String args[]) {
		Car ambassidar = new Car();
//		audi.airBag= 'y';
//		audi.airConditioner='y';
//		audi.engineType='P';
//		audi.musicSystem='y';
//		audi.typeOfCar='S';
		
		Car audi = new Car('S','P');
		
		Driver ajay = new Driver();
		ajay.takeCar(audi);
		ajay.fuelTheCar();
		ajay.startDrive();
		ajay.turnLeft();
		ajay.turnRight();
		ajay.stopDrive();
		
		
		
		
		Swift swiftCar= new Swift();
		swiftCar.rvIndicator();
		swiftCar.absfeature();
		swiftCar.seatbelt();
		
		Car modelCar = (Car) swiftCar;
		modelCar.seatbelt();
		
		
		
		audi.seatbelt();
		
	}
}
